0
Output of program:
package com.abc; public class dbt { static String url = "jdbc://derby://localhost:1527//mydb"; static DatabaseWrapper getDatabase () { System.out.println("Getting DB"); return null; } public static void main(String[] args) { System.out.println (getDatabase() .url); } }
1 Answer
0
can anyone answer?