0% found this document useful (0 votes)
56 views3 pages

Java 22412 Passing Pack 38 Marks

This document provides an overview of key Java programming concepts, including definitions and explanations in both English and Hindi. Topics covered include type casting, differences between == and .equals(), static vs non-static members, wrapper classes, control flow statements, constructors, string methods, interfaces vs abstract classes, exception handling, ArrayLists, polymorphism, file handling, and applets. Each concept is succinctly defined and explained to aid understanding for learners.

Uploaded by

poojapatel9965
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views3 pages

Java 22412 Passing Pack 38 Marks

This document provides an overview of key Java programming concepts, including definitions and explanations in both English and Hindi. Topics covered include type casting, differences between == and .equals(), static vs non-static members, wrapper classes, control flow statements, constructors, string methods, interfaces vs abstract classes, exception handling, ArrayLists, polymorphism, file handling, and applets. Each concept is succinctly defined and explained to aid understanding for learners.

Uploaded by

poojapatel9965
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Java Programming (22412) - 38 Marks Passing Pack

Features of Java
Definition (English):
Java is a platform-independent, object-oriented, secure, and robust programming language.

Explanation (Hindi):
Java kisi bhi OS par chal sakta hai, object-oriented hai, secure hai aur error handle karne ki ability rakhta hai.

Type Casting
Definition (English):
Type casting is converting a variable from one data type to another.

Explanation (Hindi):
Jaise int ko float me badalna ya float ko int me.

Difference between == and .equals()


Definition (English):
`==` compares reference; `.equals()` compares content.

Explanation (Hindi):
`==` memory address check karta hai, `.equals()` value check karta hai.

Static vs Non-static
Definition (English):
Static members belong to class, non-static belong to object.

Explanation (Hindi):
Static sabhi objects ke liye common hota hai, non-static har object ke liye alag.

Wrapper Class
Definition (English):
Used to convert primitive types to objects (e.g., int to Integer).

Explanation (Hindi):
Primitive types ko object me convert karne ke liye wrapper classes use hoti hain.

Break vs Continue
Definition (English):
`break` exits loop; `continue` skips current iteration.

Explanation (Hindi):
`break` loop todta hai, `continue` ek baar skip karta hai.

This vs Super
Java Programming (22412) - 38 Marks Passing Pack

Definition (English):
`this` refers to current class object, `super` to parent class.

Explanation (Hindi):
`this` current object ko point karta hai, `super` parent ke method/variable ko.

Constructor Overloading
Definition (English):
Having multiple constructors with different parameters.

Explanation (Hindi):
Alag-alag arguments wale constructors banana constructor overloading hai.

String Methods
Definition (English):
Methods like length(), compareTo(), substring(), replace().

Explanation (Hindi):
String ko manipulate karne ke liye methods jese length ya substring use karte hain.

Interface vs Abstract Class


Definition (English):
Interfaces have only abstract methods; abstract classes can have both.

Explanation (Hindi):
Interface sirf method ke naam rakhta hai, abstract class me method ka code bhi ho sakta hai.

Exception Handling
Definition (English):
Catching errors using try-catch blocks and custom exceptions.

Explanation (Hindi):
Errors ko control karne ke liye try-catch use karte hain; custom error banane ke liye user-defined exception.

ArrayList with Iterator


Definition (English):
ArrayList is resizable array, Iterator loops through it.

Explanation (Hindi):
ArrayList dynamic array hai aur Iterator se uske elements access karte hain.

Polymorphism
Definition (English):
Ability to perform tasks in multiple forms.
Java Programming (22412) - 38 Marks Passing Pack

Explanation (Hindi):
Ek hi method alag-alag class me alag kaam kare to wo polymorphism kehlata hai.

File Handling
Definition (English):
Reading/writing data using FileReader and FileWriter.

Explanation (Hindi):
File me data write ya read karne ke liye file classes use hoti hain.

Applet with <param>


Definition (English):
Applet is browser-based Java program; <param> passes values.

Explanation (Hindi):
Applet browser me chalta hai, aur <param> se input deta hai.

You might also like