Third question

how to get rid of null pointer exception :thinkLul:
14 Replies
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View
Pleezon
Pleezonā€¢3y ago
Method 2:
public static void antiNull(Object a){
if(a==null) System.exit(0);
}
public static void antiNull(Object a){
if(a==null) System.exit(0);
}
There. Fixed.
Liquid
LiquidOPā€¢3y ago
where is the semicolon šŸ˜³ šŸ’€
Pleezon
Pleezonā€¢3y ago
what are you talking about?
Liquid
LiquidOPā€¢3y ago
i see
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View
Liquid
LiquidOPā€¢3y ago
šŸ—æ
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1stā€¢3y ago
mutual servers šŸ‘€
gsayson
gsaysonā€¢3y ago
Use my Language It is very concise yet expressive
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View
gsayson
gsaysonā€¢3y ago
shru up
Unknown User
Unknown Userā€¢3y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?