class HappyGarbage01 { public static void main(String args[]) { HappyGarbage01 h = new HappyGarbage01(); h.methodA(); /* Line 6 */ } Object methodA() { Object obj1 = new Object(); Object [] obj2 = new Object[1]; obj2[0] = obj1; obj1 = null; return obj2[0]; } } Where will be the most chance of the garbage collector being invoked?
Attempt Now
What will be the output of the following PHP program?
यदि P = %, A = -, B = +, C = ×, D = ÷ हो तो (100 का 5PB53A4)D9= ?
Attempt Now
The central banking functions in India are performed by the
1.Central Bank of India2.Reserve Bank of India3.State Bank of India4.Punjab National Bank
Attempt Now
What will be the output of the program?classExc0extendsException{}classExc1extendsExc0{}/* Line 2 */publicclassTest{publicstaticvoidmain(String args[]){try{thrownewExc1();/* Line 9 */}catch(Exc0 e0)/* Line 11 */{System.out.println(Ex0 caught);}catch(Exception e){System.out.println(exception caught);}}}
Attempt Now
What is the name of a service-specific 12-day exercise 2018 between the Indian Air Force (IAF) and Russian Federation Aerospace Force (RFSAF)?
Attempt Now
On July 27, 2020, the first batch of Rafael Jets flew out to reach India from which country?
Attempt Now
R1 = 1Ω, R2 = 3Ω, R3 = 5Ω and R4 = 7Ω connected in series. Total voltage = 20V, Current I, V2 =?
Attempt Now
What is the proposed target of Defence and Aerospace exports by the year 2025, as per the Draft DPEPP 2020?
Attempt Now
Who defeated Rafael Nadal to win Australian open men's single title-2019?
Attempt Now
500+ more Questions to answer
Popular Courses
Post Graduate Certificate in Investment BankingBeginner LevelEnglishBy Investment Banking
590000625000 5.6% off
Reasoning Special by Parwez Sir for all Government ExamAll Levelsहिन्दीBy Reasoning special by Parwez Alam