ideone.com Open in urlscan Pro
176.119.34.153  Public Scan

URL: https://ideone.com/9zLIVJ
Submission: On October 21 via api from IN — Scanned from DE

Form analysis 1 forms found in the DOM

POST //ideone.com/account/login

<form action="//ideone.com/account/login" method="post">
  <div style="margin-bottom: 20px;"> New user? <a class="normal-link" href="/account/register">Sign up</a>
  </div>
  <div class="control-group">
    <div class="controls">
      <div class="input-prepend" style="margin-bottom: 0px">
        <span class="add-on rel-tooltip" title="Username or e-mail"><i class="icon-user"></i></span>
        <input type="text" class="span2" id="username" name="username" value="" placeholder="Username or e-mail">
      </div>
    </div>
  </div>
  <div class="control-group" style="margin-bottom: 0px">
    <div class="controls">
      <div class="input-prepend">
        <span class="add-on rel-tooltip" title="Password"><i class="icon-key"></i></span>
        <input type="password" class="span2" id="password" name="password" value="" placeholder="Password">
      </div>
    </div>
  </div>
  <input type="hidden" name="remember" value="yes">
  <input type="hidden" name="next" value="Lzl6TElWSg==">
  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn"><i class="icon-signin"></i> Sign in</button>
    </div>
  </div>
  <div>
    <a class="normal-link" href="/account/forgot">Can't sign in?</a>
  </div>
  <hr class="clear" style="margin: 0px; margin-bottom: 10px">
  <a class="btn facebook-login-button" href="https://www.facebook.com/dialog/oauth?client_id=347515280067&amp;redirect_uri=https://ideone.com/account/registerfb/&amp;scope=email,user_location,user_hometown">Log in with Facebook</a>
</form>

Text Content

Ideone.com requires JavaScript to work.
 * new code
 * samples
 * recent codes
 * sign in
   * 
   * New user? Sign up
     
     
     Sign in
     Can't sign in?
     
     --------------------------------------------------------------------------------
     
     Log in with Facebook
 * 


fork download
copy
 1.  /* package whatever; // don't place package name! */
 2.   
 3.  import java.util.*;
 4.  import java.lang.*;
 5.  import java.io.*;
 6.   
 7.  /* Name of the class has to be "Main" only if the class is public. */
 8.  class Bank
 9.  {
 10. 	int get()
 11. 	{
 12. 		return 0;
 13. 	}
 14. }
 15. class SBI extends Bank
 16. {
 17. 	int get()
 18. 	{
 19. 		int sbi;
 20. 		Scanner in = new Scanner(System.in);
 21. 		sbi=in.nextInt();
 22. 		return sbi;
 23. 	}
 24. }
 25. class ICICI extends Bank
 26. {
 27. 	int get()
 28. 	{
 29. 		return 8;
 30. 	}
 31. }
 32. class AXIS extends Bank
 33. {
 34. 	int get()
 35. 	{
 36. 		return 9;
 37. 	}
 38. }
 39. class check
 40. {
 41. public static void main(String args[]){  
 42. 		SBI s=new SBI();
 43. 		ICICI i=new ICICI();
 44. 		AXIS a =new AXIS();
 45. 	System.out.println("SBI Rate of Interest: "+s.get());  
 46. 	}
 47. }

LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgQmFuawp7CglpbnQgZ2V0KCkKCXsKCQlyZXR1cm4gMDsKCX0KfQpjbGFzcyBTQkkgZXh0ZW5kcyBCYW5rCnsKCWludCBnZXQoKQoJewoJCWludCBzYmk7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJc2JpPWluLm5leHRJbnQoKTsKCQlyZXR1cm4gc2JpOwoJfQp9CmNsYXNzIElDSUNJIGV4dGVuZHMgQmFuawp7CglpbnQgZ2V0KCkKCXsKCQlyZXR1cm4gODsKCX0KfQpjbGFzcyBBWElTIGV4dGVuZHMgQmFuawp7CglpbnQgZ2V0KCkKCXsKCQlyZXR1cm4gOTsKCX0KfQpjbGFzcyBjaGVjawp7CnB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZyBhcmdzW10peyAgCgkJU0JJIHM9bmV3IFNCSSgpOwoJCUlDSUNJIGk9bmV3IElDSUNJKCk7CgkJQVhJUyBhID1uZXcgQVhJUygpOwoJU3lzdGVtLm91dC5wcmludGxuKCJTQkkgUmF0ZSBvZiBJbnRlcmVzdDogIitzLmdldCgpKTsgIAoJfQp9
Success #stdin #stdout 0.16s 51684KB
comments ()
stdin
copy
NA==

4

stdout
copy

SBI Rate of Interest: 4




https://ideone.com/9zLIVJ

save cancel

language:
Java (HotSpot 12)
created:
4 days ago
visibility:
public


Share or Embed source code <script src="https://ideone.com/e.js/9zLIVJ"
type="text/javascript" ></script>



DISCOVER > SPHERE ENGINE API

The brand new service which powers Ideone!

DISCOVER > IDE WIDGET

Widget for compiling and running the source code in a web browser!

×

SHORTCUTS

Global
 * Ctrl + Enter run

Ace editor
 * Ctrl + Enter run

Textarea
 * Ctrl + Enter run

Sphere Research Labs. Ideone is powered by Sphere Engine™

Home API Language FAQ Credits desktop mobile
Terms of Service Privacy Policy GDPR Info

Feedback & Bugs


Popular languages:

Bash Pascal C Perl C# PHP C++ Python C++14 Python3 Haskell Ruby Java SQLite
Objective-C Swift VB.net
List of all supported programming languages

×


REPORT BUG / MAKE SUGGESTION


Close submit
×


CHOOSE YOUR LANGUAGE

 * English
 * Hindi
 * Hungarian
 * Mongolian
 * Polish
 * Russian
 * Spanish
 * Traditional Chinese

close
ShareThis Copy and Paste