List basic concept of OOP. Explain any one. પરશન.1 (અ) OOP ના મળભત ખયાલ ની સચી બનાવી કોઈ પણ એક સમજાવો.
[3 marks]Explain the statement : public static void main(String argos[]) (બ) નનવદન સમજાવો: public static void main(String argos[])
[4 marks]Define constructor. List out different types of constructors and explain any two of them with example. (ક) કનસટરકર વયાખયાનયત કરો. નવનવધ પરકારના કનસટરકરની યાદી બનાવી તમાાથી કોઈ પણ બ ન ઉદાહરણ સાથ સમજાવો.
[7 marks]Define Inheritance. List out different types of Inheritance and explain any two of them with example. (ક) Inheritance વયાખયાનયત કરો Inheritance યાદી બનાવી તમાાથી કોઈ પણ બ ન ઉદાહરણ સાથ સમજાવો.
[7 marks]Give the full Form: 1) POP 2) JVM 3) JRE પરશન.2 (અ) સાપણણ નામ જણાવો: ૧) POP ૨) JVM ૩) JRE
[3 marks]Explain Method Overloading in JAVA with suitable examples. (બ) યોગય ઉદાહરણ સાથ જાવા મા ાmethod Overloading શ ા છ ત જણાવો.
[4 marks]Explain Interface concept with Program. (ક) પરોગરામ સાથ Interface ણો ખયાલ સમજાવો.
[7 marks]Write syntax to compile and execute java program. પરશન.2 (અ) જાવા પરોગરામન કમપાઇલ અન એકઝીકય કરવા માની નસનકસ લખો.
[3 marks]Compare ‘this’ keyword Vs ‘super’ keyword (બ) ‘this’ કી-વરણ અન ‘super’ કી-વરણ વચચ સરખામણી કરો.
[4 marks]Explain with example how multiple inheritance can be implemented by interface. (ક) ઈનસરફસ દવારા multiple inheritance ન કવી રીત અમલમાા મકી શકાય ત ઉદાહરણ સાથ સમજાવો. Q. 3 (a) List out relational operators in JAVA and Explain working of them પરશન.3 (અ) જાવા મા ા relational operators ની યાદી બનાવી તઓ કવી રીત કામ કર છ ત સમજાવો.
[3 marks]Explain packages with Example.1 (બ) ઉદાહરણ સાથ પકજો સમજાવો.
[4 marks]Define thread? List different methods used to create Thread. Explain Thread life cycle. (ક) થરર વયાખયાનયત કરો. થરર બનાવવા મા ઉપયોગમાા લવાતી નવનવધ પદધનતઓની સચી બનાવી તન ા જીવનચકર સમજાવો.
[7 marks]Q. 3 (a) Explain three advantages of JAVA પરશન.3 (અ) JAVA ના તરણ ફાયદા સમજાવો.
[3 marks]Explain Dynamic Method Dispatch in JAVA ? (બ) જાવા મા ારાયનનમક રીટપચ સમજાવો.
[4 marks]Explain synchronization in thread. (ક) થરર મા ાનસનસકરોનાઈઝસન સમજાવો. Q. 4 (a) Compare Checked and Unchecked Exception. પરશન.4 (અ) ચકર અન અનચકર અપવાદ ની ત લના કરો.
[3 marks]Explain For loop in JAVA and how does it work. (બ) જાવા મા ાફોર લ પ સમજાવો અન ત કવી રીત કાય ણકર છ
[4 marks]Define Exception Handling? Explain ArrayIndexOutOfBound Exception in JAVA with example. (ક) એકસપસન હનસરનલાગ શ ાછ? જાવા મા ાArrayIndexOutOfBound એકસપસન ઉદાહરણ સાથ સમજાવો.
[7 marks]Q. 4 (a) Explain Try and Catch Block with suitable example. પરશન.4 (અ) રાય અન કચ બલોક ન ઉદાહરણ સાથ સમજાવો.
[3 marks]Explain working of Switch statement in JAVA. (બ) જાવા મા ાટવીચ ટમનસ કવી રીત કાય ણકર છ ત સમજાવો.
[4 marks]List different thread priorities.Write a Program that executes two thread. One thread will print the positive number and another thread will print negative number from 1 to 50. (ક) નવનવધ થરર ની પરાથનમકતાઓ ની યાદી બનાવો. એક પરોગરામ લખો જ બ થરર ન એકઝીકય કર. એક થરર પોનસીવ નાબર અન એક થરર નગીવ નાબર કરશ. ૧ થી ૫૦ સ ધી.
[7 marks]Write a program in java that create a new file called “myText” and write the following data to it; “Hello! Object Oriented Programming with JAVA - 4341602” પરશન.5 (અ) જાવા મા ા એક પરોગરામ લખો જ “myText” નામની નવી ફાઈલ બનાવ અન તમાા નીચનો રા લખો. “Hello! Object Oriented Programming with JAVA - 4341602”
[3 marks]Define stream and list out stream classes with hierarchy. (બ) ટરીમ અન તના કલાસ તથા હાઈરારકી વયાખયાનયત કરો.
[4 marks]How to create a package in java.. Discuss the various levels of protection available for packages and their implications. (ક) જાવામાા પકજ કવી રીત બનાવવ ા. પકજો અન તમની અસરો મા ઉપલબધ સ રકષાના નવનવધ ટતરો ની ચચાણ કરો.
[7 marks]Explain how to create a text file in context to file handling. પરશન.5 (અ) ફાઈલ હનસરનલાગ ના સાદભણ મા ાકટ ફાઈલ કવી રીત બનાવવી ત સમજાવો.
[3 marks]Explain java I/Oclass. (બ) જાવા I/O કલાસ સમજાવો.2
[4 marks]Explain throw, throws and finally with example in exception handling of java. (ક) જાવા ના એકસપસન હનસરનલાગમાા ઉદાહરણ સાથ થરો, થરોવસ અન ફાઈનલી સમજાવો.3
[7 marks]