Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us

neha

Ask neha
0Followers
1Question
Home / neha /Answers
  • About
  • Questions
  • Asked Questions
  • Favorite Questions
  • Polls
  • Answers
  • Comments
  • Followed Questions
  • Followers Questions
  • Best Answers
  • Posts
  • Followers Answers
  • Followers Posts
  • Followers Comments
  1. Asked: July 31, 2020In: Java

    How to solve null pointers should not be dereferenced sonar fix

    neha

    neha

    • India
    • 1 Question
    • 2 Answers
    • 0 Best Answers
    • 24 Points
    View Profile
    neha
    Replied to answer on January 12, 2021 at 10:35 pm

    In ss the if statements are two times. Either In the finally block instead of all if statements write out.close() or remove null if possible share ss again hope it works

    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: September 12, 2020In: Java

    java equals int cannot be dereferenced how to fix

    neha

    neha

    • India
    • 1 Question
    • 2 Answers
    • 0 Best Answers
    • 24 Points
    View Profile
    neha
    Added an answer on January 12, 2021 at 10:12 pm

    int is not an object it is a primitive data type and objects are reference type. So instead of equals use == and return obj1 and obj2 separately. hope it solves your problem

    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Ask A Question

Stats

  • Questions 1,991
  • Answers 2,102
  • Posts 12
  • Best Answers 73

Explore

  • Home
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Recent Comments

  • muller on how to solve export problem in kinemaster
  • muller on how to solve export problem in kinemaster
  • muller on how to solve export problem in kinemaster
  • AaronBlackburn on why can’t i find my message requests on instagram
  • shree on How to use philips citrus press juicer 25 watts Demo
Ask A Question

Archives

Tags

laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

Social media

© 2023 @ Techanswered.com.
Terms, Privacy policy & Sitemap.