Monday, April 21, 2014

How do I prepare for the OCPJP 7 exam?


How do I prepare for the OCPJP 7 exam?

• Oracle’s free online Java tutorials: Access the Java tutorial at

• Java documentation: The Java API documentation is a mine of information. This documentation is available online (see http://docs.oracle.com/javase/7/docs/api/and is shipped as part of the Java SDK.
If you don’t have immediate Internet access, you may find javac’s -Xprint option handy.

To print the textual representation of String 
class, type the fully qualified name, as in javac -Xprint java.lang.String.This will print the list of members in String class in console.

• Code, code, code! Write lots and lots of small programs, experiment with them, and learn from your mistakes.
• Read, read, read! Read the tutorial and reference resources on Oracle’s site,
especially.


• Read, code, read, code! Cycle back and forth between your reading and coding so that your book knowledge and its practical application are mutually reinforcing. This way, you’ll not just know a concept, but you’ll also understand it.
• Focus most on the topics you’re least comfortable with. Grade yourself on each of the topics in OCPJP 7 exam on an ascending scale from 1 to 10. Do remedial preparation in all topics for which you rate yourself 8 or less.


Ask here for java ocjp practice paper.

OCJP Practice question #19

What will be the output of the following Java program ?




Answer:
  • B is correct, It’s legal to invoke "new" from within a constructor, and it’s legal to call super() on a class with no explicit super class. On the real exam, it’s important to watch out for pre- and post-increment.


Wednesday, April 16, 2014

REDHAT hiring Software Engineer - Product Security

Company name: REDHAT

                         


Job Title: Software Engineer - Product Security

Experience required: 0-2 years

Job Category:  Applications

Job Type:  Regular

Primary Location:  INDIA- Pune

Employee Status:  Regular

Skill Set: C, C++, Java, OOPS, C.

Qualifications: B.E. /B.Tech/BCA/ME/M.Tech

Apply here:  

Word of the day : Jeopardy

Die Hard Techy : Word of the day




Key to Remember :

Jeopardy(khatran): danger, peril, pitfall,menace .

A talked about show can be " Players of jeopardy" 

Word of the day : Vivacity

Die Hard Techy : Word of the day



Key to learn :


Vivacity: life,zeal,vigor, fire, brilliance.

Damini's fighting attitude showed us vivacity to us..

famous daily shop Hamse hai life could be " hamse hai 'vivacity' "

OCJP Practice question #18

What will be the output of following java program ?



Answer :
Option A is correct,  call(i) will go to call(int i) method as i is primitive data type.

call(I) will go to call(Integer I) method as I is an reference variable. 

Match case's always have the higher priority. 


Next Question here : OCJP

OCJP Practice question #17

What will be the output of following java program ?


Answer :
Option A is correct,  

Iteration 1. i=1
Iteration 2. i=2
Iteration 3. i=3
Iteration 4. i=4
Iteration 5. i=5

Next Question here : OCJP




Software testing foundation level course material


ISTQB foundation level exam material 



ISTQB foundation level reference book : A complete reference for ISTQB foundation level syllabus. 

Download here:


ISTQB foundation level dump papers: Practice question papers to let you feel actual exam pattern.Download here:


Download core java projects here:

Tuesday, April 15, 2014

OCJP Practice question #16


What will be the output of following java program ?


Answer :
Option C is correct, 

Iteration 1. j=1

Iteration 2. j=2
.
.
.

Next Question here : OCJP

How to become a good programmer : An approach to be more productive

  1. Work on Basics

  2. Use naming convention in your code to make it more readable and understandable for every one.

  3. You learn more by helping others.

  4. Write simple, understandable but logical code.

  5. Spend more time in analyzing the problem, you’ll need less time to fix it.

  6. Be the first to analyze and review your code.

  7. Don’t dismay yourself by looking at changing technology world.

  8. Don’t work for longer time.

     
  9. Read documentation.

  10. Learn from others code as well

Monday, April 14, 2014

Java Material : Every java lover must have.


Java Head first: Head first java is the best book available to learn java in fun and attractive way.

Download here
Head first for java uses simple yet smart ways to teach java concepts.

To download this book:

To download core java projects: Click here



Java Multithreading : Learn how multiple threads in java works. 

Multithreading in java is the most used feature of  java making java more versatile and user friendly.

To download this book:Click here

To practice core java FAQ's : OCJP Practice Question

Java- IO tutorial: Download this document to understand java input output mechanism.
Java supports multiple ways to handle input-output operations. 

To download this book:Click here




OCJP Practice question #14

What will be the output of the following Java Program ?



Answer :

Choice D is correct.

""=="" will compare a string with same string in string constant pool so true

"A"=="A" will compare a string in constant pool so true

"a==A" is string so prints a==A

More Question here : OCJP

Thursday, April 10, 2014

OCJP Practice question #13

What will be output of the following Java Program ?


Answer :

Choice C is correct.  IndexOutOfBoundsException

There is only one element in the list and index starts from 0 for ArrayList.


More Question here : OCJP



OCJP Practice question #12

What will be the output of the following Java Program ?


Answer :

Choice e is correct.

false inside for loop makes System.out.println(""+s); statement unreachable. 

Compile time error is the correct answer !

More Question here : OCJP

OCJP Practice question #11


          What will be the output of the following Java Program ?



Answer :

Choice B is correct

x *= 3 + 7; is same as x = x * (3 +7) = 5 * (10) = 50 because expression on 


the right is always placed inside parentheses. 


More Question here : OCJP

Wednesday, April 9, 2014

OCJP Practice question #10

What will be the output of the following 

Java Program ?


Answer :
Option A is correct, we can use empty return when return type is void.

More Question here : OCJP



OCJP Practice question #9

What will be the output of the following 

Java Program ?


Answer :
  • option 4 is correct because System.out.print(); requires argument to pass. 
  • print and println methods are defined in PrintStream Class.

More Question here : OCJP

OCJP Practice question #8

What will be the output of the following 

Java Program ?


Answer :
  • option 1 is  correct because int k is a local variable which needs to be initialized before using in the System.out.println(k); statement. 
  • Local variables have no default value whereas class level variable have.

More Question here : OCJP

Tuesday, April 8, 2014

United Health Group hiring as Associate Software Engineer

Company name: United Health Group

                         


Job Title: Associate Software engineer

Experience required1-2 years of experience

Job Category:  Applications

Job Type:  Regular

Primary Location:  INDIA- Gurgaon

Employee Status:  Regular

Skill Set: C, C++, Java, OOPS, C.

Qualifications: B.E. /B.Tech/BCA/ME/M.Tech

Apply here:  

OpenText is Hiring freshers as Associate Software engineer



Company name: Open Text

                         

Job Title: Associate  Software engineer

Experience required: 0-2 years

Job Category:  Applications

Job Type:  Regular

Primary Location:  INDIA- Hyderabad

Employee Status:  Regular

Skill Set: C, C++, Java, OOPS, C.

Qualifications: B.E. /B.Tech/BCA/ME/M.Tech

Apply here: 

OCJP Practice question #7

What will be the output of the following 

Java Program ?


Answer :
  • B, D, E, F, and G are correct because those lines of code will NOT compile. B,(line 6),is incorrect because List is abstract.
  • D, E, F, and G are all incorrect because polymorphic assignments can’t be applied to the generic type parameter.
  • A is incorrect based on the above. C is incorrect because line 7 uses legal syntax.

More Question here : OCJP

Monday, April 7, 2014

OCJP practice question #6

String Tricky Question 


Solution: Option 4 is correct.
 " " in the System.out.println statement is empty String which is getting concatenated with s2. So new resultant will be stored in new location making a new Object, as String is immutable in java.

For more clarification Comment your queries in comment section of this post.

Happy learning :) 

Wednesday, April 2, 2014

5 Best online shopping websites to add extra value in your shopping experience

Now days the shopping trend has changed, people are moving from traditional way of shopping(going to market and purchase stuff ) to shopping online.

Online shopping has so many advantages over traditional ways. Time is emerging, everyone is getting busy, in this context online shopping can be the optimal choice. it helps you get so many designs, easy payment facilities, great discounts, easy replacement policies, quick shipping services, and all varieties under one roof.

There are so many online shopping websites available over the internet , we have find out 5 best shopping websites which offers best quality, great services to make your shopping experience better.

Flipkart.com : Flipkart is the Indian online shopping market leader, providing best shopping experience. Flipkart have huge range of books, electronics, clothes, home appliances, footwear etc.

They also have Offer Zone to get all offer available in flipkart.

Amazon.in: Amazon offers best shipping services, easy payment methods, wide variety of goods, easy refund policies and yes so many offers.

HomeShop18: Homeshop 18 provides exclusive daily offers, they have Over 1000 Indian and International Brands available , 3000+ Delivery Locations, 24 x 7 Customer Support, Safe and Secure Transactions. 

Snapdeal: As the name suggest deals. So many deals in different items, best offers, they ship almost in every indian city. 

JabongJabong.com is a vibrant company that provides good quality branded products for men, women and kids across footwear, apparel, jewellery and accessories. They are fairly new in market but have won the trust of millions customer worldwide. They also offers selling facilities.

 

© 2014 DieHardTechy . All rights resevered. Designed by Diehardtechy