6 Months industrial training Android App Development DAY 1 JAVA Language: the method of human communication, either spoken or written, consisting of the use of words in a structured and conventional way. Programming Language: A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output. Programming languages generally consist of instructions for a computer . JAVA : Java is a general-purpose computer-programming language that is concurrent , class-based , object-oriented , and specifically designed to have as few implementation dependencies as possible. JAVA is a pure object oriented programming language. FEATURES OF OOPS The Objects Oriented programming language supports all the features of normal programming languages. In addition it supports some important concepts and terminology w...
DAY 3 JAVA CLASS: A class is a user defined blueprint or prototype from which objects are created. It represents the set of properties or methods that are common to all objects of one type. It is collection of variables and methods. class class_name { data_type variable_name 1=value; // instance variables ....... data_type variable_name n=value; return_type metod_name(parameters); { int i; //local variables ....... } Class with Variables object: An object is an instance of a class. Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type support. class a { int l; int b; int h; } class demo { public static void main(String s[]) { a obj= new a(); obj.l=10; obj.b=20; obj.h=30; System.out.println(obj.l); a obj1; // reference object obj1=obj; obj1.l=20; System.out.println(ob...
ANDROID MENU MENU: Menus are a common user interface component in many types of applications. To provide a familiar and consistent user experience, you should use the Menu APIs to present user actions and other options in your activities. Beginning with Android 3.0 (API level 11), Android-powered devices are no longer required to provide a dedicated Menu button. With this change, Android apps should migrate away from a dependence on the traditional 6-item menu panel and instead provide an app bar to present common user actions. Although the design and user experience for some menu items have changed, the semantics to define a set of actions and options is still based on the Menu APIs. Options menu and app bar The options menu is the primary collection of menu items for an activity. It's where you should place actions that have a global impact on the app, such as "Search," "Compose email," and "Settings." Context...
Comments
Post a Comment