Core Java Tutorial Free online

java syllabus for android development

what are java basics

 

  1. Core java
  2. OOPS Concepts
  3. Multi-threading
  4. exception handling

And as for 2 hours of dedicated learning. I think it shouldn’t take more than 20-25 days,

http://code.tutsplus.com/categories/android-sdk

Installing Java and Eclipse

JDK 7 download

java core and advanced syllabus

Core JAVA:
• INTRODUCTION TO JAVA
• OOPS CONCEPTS
• LOOPING & ARRAYS
• EXCEPTION HANDLING
• FILE HANDLING
• THREADING & MULTI -THREADING
• COLLECTION FRAMEWORK
• APPLETS
• SWINGS
• SQL AND PL/SQL OR MYSQL
• JDBC

J2EE:
• HTML
• JSP
• SERVLETS
• XML

MODEL VIEW CONTROLLER – MVC
STRUTS/SPRING/HIBERNATE

Class; set of objects class first letter must be UPPER CASE,
METHOD: first letter lowercase
Java project name as same as class name,
Public static void main

Main method is compulsory in every java programme.

Object:
Intizer:

Identifiers: must start with LETTers or $ _ ,
Other than this not works.

Variables:
Static variable (class)
Instance variables ( non static)
Local variables

Arrays: these object but stores multiple variables.

 

Class; set of objects class first letter & inner word 1st letter must be UPPER CASE, Ex: class MyNewClass
METHOD: first letter lowercase
Java project name as same as class name,
Class name starts with Big letter object /variable in starts with small letter.

Public static void main

Main method is compulsory in every java programme.

Object: instance of class called as object

To call method other than main
We have to create object in main method and then call new method with object.

Ex. Object.method()

Identifiers: must start with Letter or $ _ , (not with 123 etc) (classes,methods, objects names called as identifiers)

Other than this not works.
modifiers: we will modify classes & objects in java
Acess modifiers: deafult,public, private protected
Non-acees modifiers: final,abstract,strictfp
Arrays: these object but stores multiple variables of the same type
we can declare array size & index (starts from zero left to right)  the elements.
int[] arr =new int[5]
5 is the array size
arr[3]= 54; 54 is the 3rd number in the array index
multidimensional arrays: basically two-dimensional arrays are more famous.
int[][]sample = {{1,2,3}, {4,5,6}
to call this we have to provide to index 1 for array 2nd one for the element in that array
int y=sample[1][0]
system.ou.println(y);
//output is 4; 1 is 2nd array & 0 is  the 1st element in the 2nd array.
row index and column index are 2 multidimensional indexes
Variables:
used to store values in the programming language.
Static variable (belongs to the class instead of single method)
Instance variables ( nonstatic)
Local variables
 
Intizer: type of variale to store intizer valus like 1,2,3.30,  (int)
Member variable: string stored for names
Enums: just like arrays but restrict variable in predefined way.
enum student{ school, college, university}
Student a = student.schoool
Method: also called as function to perform a task.  first letter should be small and inner words capital.
Void:indicates non return value
Static: method & object belong the class instead of object/instance.
Comments:
Single lined //comment
multi line comments /*ghhg
jjjggg*/
Basics:
Loops & Conditional statements
 
 
 
For loop
Do while
if else
enhanced for loop (for each loop)
Iteration:
Class/Objects methods:
 java package is a group of classes. classes hold different objects/methods and variable all the code.
Class
Super class & subclass
Inheritance: Subclass inherited from subclass by // Superclass extends subclasses. (we can call existing class from newly created class for using the same code)
interfaces: abstracts class (contract between classes)
@override
getters & setters
Java utilities;
import java.uitilities.scanner/formmatter/
Scanner useful to read documents in a path.
formatter  creates and adds content to the document.
Special methods:
Constructors: same as class and should have Nonreturn value (void)
Exception handling:
checked exceptions
throws try catch exception e implement runnable.
unchecked Runtime exception

Core Java and Advanced Java Syllabus

http://docs.oracle.com/javase/tutorial/java/concepts/

Java vs. JavaScript: Similarities and Differences