해외생활이야기2017. 8. 29. 10:24

-[JOBINTERVIEW]가장 일반적인 50 가지 질문(번역)



개발자들은 기술 면접 이외에도 일반적인 면접 질문을 준비해야 합니다.

오히려 면접 담당자가 개발자가 아니라면, 일반적인 질문을 더 많이 한다고 하더군요.


The 50 Most Common Interview Questions:

가장 일반적인 50 가지 질문 :

1. What are your strengths?

당신의 장점은 무엇입니까?

2. What are your weaknesses?

당신의 약점은 무엇입니까?

3. Why are you interested in working for [insert company name here]?

 [회사 이름 입력]에 관심이있는 이유는 무엇입니까?

4. Where do you see yourself in 5 years? 10 years?

5년간 당신은 자신을 어디서 보았습니까? 10 년간은요?

5. Why do you want to leave your current company?

왜 현재 회사를 떠나고 싶습니까?

6. Why was there a gap in your employment between [insert date] and [insert date]?

귀하의 고용에 [날짜 삽입]과 [날짜 삽입] 사이에 간격이 있었던 이유는 무엇입니까?

7. What can you offer us that someone else can not?

당신이 우리에게 제공 할 수 있는 것은 다른 사람이 할 수없는 것입니까?

8. What are three things your former manager would like you to improve on?

당신의 이전 매니저가 개선하기를 바라는 세 가지 사항은 무엇입니까?

9. Are you willing to relocate?

relocate 할 의향이 있습니까?

10. Are you willing to travel?

출장을 할 의향이 있습니까?

11. Tell me about an accomplishment you are most proud of.

당신이 가장 자랑스럽게 생각하는 업적에 대해 말해주십시오.

12. Tell me about a time you made a mistake.

당신이 했었던 실수 한가지에 대해 말해보세요.

13. What is your dream job?

당신의 꿈에 직업은 무엇입니까?

14. How did you hear about this position?

이 직위에 대해 어떻게 알게 되었습니까?

15. What would you look to accomplish in the first 30 days/60 days/90 days on the job?

당신은 직장에서 처음 30 일 / 60 일 / 90 일 동안 무엇을 달성하겠습니까?

16. Discuss your resume.

당신의 이력서에 대해 토론하십시오.

17. Discuss your educational background.

당신의 교육 배경에 대해 토론하십시오.

18. Describe yourself.

자신을 묘사해 보세요.

19. Tell me how you handled a difficult situation.

당신은 어려운 상황을 어떻게 처리했는지 알려주십시오.

20. Why should we hire you?

우리가 왜 당신을 고용해야 합니까?

21. Why are you looking for a new job?

새로운 직업을 찾고있는 이유는 무엇입니까?

22. Would you work holidays/weekends?

당신은 휴일/주말을 일하시겠습니까?

23. How would you deal with an angry or irate customer?

화난 또는 화를 내는 고객을 어떻게 처리하겠습니까?

24. What are your salary requirements?

당신의 급여 요건은 무엇입니까?

25. Give a time when you went above and beyond the requirements for a project.

당신은 위를 차지했고(you went above), 프로젝트를 위한 요구사항 이상(beyond the requirements for a project)일때, 시간을 제공하십시오.(Give a time)

번역 불가.

26. Who are our competitors?

우리의 경쟁자는 누구입니까?

27. What was your biggest failure?

당신의 가장 큰 실패는 무엇었습니까?

28. What motivates you?

당신에게 동기가되는 것은 무엇입니까?

29. What’s your availability?

당신의 가능성은 무엇인가요?

30. Who’s your mentor?

당신의 멘토는 누구입니까?

31. Tell me about a time when you disagreed with your boss.

당신이 당신의 상사와 의견을 달리했을 때를 말해주십시오.

32. How do you handle pressure?

압박감은 어떻게 처리합니까?

33. What is the name of our CEO?

우리에 CEO의 이름은 무엇입니까?

34. What are your career goals?

귀하의 커리어 목표는 무엇입니까?

35. What gets you up in the morning?

당신은 아침에 무엇으로 일어나나요?

36. What would your direct reports say about you?

당신의 직접적인 보고서는 당신에 대해 무엇이라고 말합니까?

37. What were your bosses’ strengths/weaknesses?

당신의 상사의 강점 / 약점은 무엇입니까?

38. If I called your boss right now and asked him what is an area that you could improve on, what would he say?

내가 지금 당신의 보스에게 전화를 걸어 개선 할 수있는 부분이 무엇인지 물어 보면, 그는 무엇을 말하겠습니까?

39. Are you a leader or a follower?

당신은 리더입니까, 추종자입니까?

40. What was the last book you’ve read for fun?

재미로 읽은 마지막 책은 무엇 이었습니까?

41. What are your co-worker pet peeves?

당신 동료의 무엇이 가장 짜증(pet peeves)납니까?

42. What are your hobbies?

취미는 무엇입니까?

43. What is your favorite website?

좋아하는 웹 사이트는 무엇입니까?

44. What makes you uncomfortable?

무엇이 당신을 불편하게 합니까?

45. What are some of your leadership experiences?

귀하의 리더십 경험은 무엇입니까?

46. How would you fire someone?

당신은 어떻게 누군가를 해고하겠습니까?

47. What do you like the most and least about working in this industry?

당신이 이 업계에서 가장 열심히하고 가장 잘하는 점은 무엇입니까?

48. Would you work 40+ hours a week?

일주일에 40 시간 이상 일하십니까?

49. What questions haven’t I asked you?

나는 당신에게 어떤 질문을 하지 않았습니까?

50. What questions do you have for me?

당신은 나에게 어떤 질문을 하겠습니까?


출처 : https://www.forbes.com/sites/jacquelynsmith/2013/01/11/how-to-ace-the-50-most-common-interview-questions/#3bf4d7824624



Posted by Joseph514
해외생활이야기2017. 8. 28. 20:38

-[JOBINTERVIEW]인터뷰를 위한 9가지 전략(번역)

면접 인터뷰를 보기 위한 9가지 전략입니다.

영문으로 된 글인데  퍼와서 번역해봤습니다.



1. 회사 정보

당신이 자신에 대해 이야기 할 준비가되어 있더라도 인터뷰하는 회사의 필수 요소를 알지 못하면 준비와 관심이 부족합니다. 당신이 회사를 알기 전까지는 회사에 어떻게 들어갈 것인지 면접관에게 보여줄 수 없습니다.

인터뷰를하기 전에 회사 웹 사이트를 깊이 파고 들어 강한 정신적 기반을 구축하십시오. 회사가 돈을 버는 방법, 최고 경영자, 가까운 장래에 달성 할 목표 (전략적 목표)에 대해 기본을 알고 있는지 확인하십시오. Google에 회사를 알리고 최신 뉴스 기사를 읽으면 모든 최신 정보를 얻을 수 있습니다. 또한 Twitter 및 Facebook 페이지를 확인하십시오.


2. 당신이 신청하고있는 직업의 본질을 아십시오.

당신이 신청하고있는 일을 친밀하게 알기. 직업 설명을 읽지 말고 공부하고 자신이 요구하는 모든 업무를 수행하십시오. 면접을 할 때, 응답을 구성하여 직업에 관한 중요한 지식을 드러내면 엄청난 이점을 얻을 수 있습니다.


3. 그리고 당신이 그것을 위해 딱 맞는 것을 알 수 있습니다.

인터뷰를하는 동안 당신이 그 위치에 완벽하게 들어갈 수 있도록 정확히 알고 말하십시오. 너를 특별하게 만드는거야? 당신은 아이디어 기계이거나 통계적 광신자 일 수 있습니다. 그것이 무엇이든, 그것을 알고 그것을 당신의 반응에 맞추기 위해 준비하십시오.

예를 들어, 면접관이 "당신의 강점은 무엇입니까?"라고 질문하면 진부를 건너 뛰고 직무에 고유 한 자질로 바로 들어갑니다. 당신은 당신이 완벽하게 적합하다는 것을 분명히 할 것입니다.


4. "HOOK"식별

대부분의 고용 관리자는 많은 사람들과 인터뷰를합니다. 많은 사람들이 후보자를 기억하기 위해 일반적으로 메모로 돌아 가야합니다. 예외적 인 경우는 강한 후보자입니다. 때로는 이러한 갈고리는 사람들이 옷을 입히는 방법이나 개성을 나타내는 것이지만, 가장 좋은 방법은 업무와 관련된 강력한 이야기입니다. 당신이 강력한 후보자가 무엇인지 보여주는 기억에 남는 이야기로 인터뷰하는 사람을 놀라게 할 때, 당신은 목록의 맨 위로 올라갈 것입니다.


5. 질문 목록 준비

잠재적 인 인터뷰 질문 목록을 준비하고 이러한 질문에 답할 핵심 포인트를 간략히 설명하십시오. 이 준비 과정은 귀하의 답변을 더욱 지적하게하고, 어색한 침묵과 불확실성을 피하게하고, 인터뷰를하기 전에 자신감을 심어줍니다.


6. 연습, 연습, 연습

당신과 그 일을 위해 인터뷰를하는 다른 모든 사람들은 당신이 질문하게 될 질문의 대부분을 이미 알고 있습니다. 차이점은 준비에 있습니다. 고유하고 위치 별 응답을 준비하면 다른 모든 경쟁자보다 경쟁력을 확보하게됩니다. 답을 암기 할 필요는 없지만, 다른 질문에 적용 할 수있는 자신에 관한 특정 참고 점을 알아야합니다.

자신을 "모의 면접"해야합니다. 준비된 주제에 대해 답을 고의적으로 회피하는 것과 달리 편안하고 유연하게 말할 수있을 때까지 응답을 비디오로 보여줍니다. 자신을 비디오로 찍을 때 어색함을 느낄 수 있지만 인터뷰 중 갚을 수 있습니다.


7. 긴장을 풀다.

면접 중에 긴장을 풀 수 없다면, 준비 할 일이 중요하지 않습니다. 자신을 선택하는 것은 선택 과정에 필수적이며, 면접관은 너무 긴장하면 그것을 느낄 것입니다. 두려움이나 불안감은 편안한 미소와 진정한 자신감에 비해 약합니다. 수많은 연구 결과에 따르면 미소 짓는 것이 행복과 자신감을 증가시킬뿐만 아니라 상호 작용하는 사람들을 편안하게 만듭니다. 이것은 주로 자연스럽게 다른 사람들의 표현과 감정을 모방하는 뇌의 거울 신경 세포 때문입니다.

이를 없애기 위해서는 고용주가 점점 더 후보자를 찾고있는 기술 인 감성 지능 (EQ)이 필요합니다. 그리고 그 일에 최고 출연자의 90 %가 EQ가 높기 때문에 놀라운 일이 아닙니다. EQ를 많이 사용하는 사람들은 평균 29,000 달러를 더 많이 벌 수 있으므로 EQ 작업을 통해 더 많은 돈을 벌 수 있습니다.


8. 긍정적 인 사람이 되라.

양성을 유지하는 것이 인터뷰에서 필수적이라는 것은 명백하게 보일 수 있지만, 일부 주제를 토론 할 때는 매우 어려울 수 있습니다. 과거의 어려운 상사 나 동료를 묘사 할 때 또는 이전 직장에서 해고 된 이유를 설명 할 때 긍정적 인 것은 힘들지 만 고용주가 당신에게서보고 싶어하는 것이 바로 그 것입니다. 도전적인 환경에 대해 긍정적 인 태도를 유지할 수 있다는 것을 보여주고, 그들이 찾고있는 탄력 있고 유연한 개인을 보게 될 것입니다.


9. 정직해라.

훌륭한 면접관은 당신이 누구 였는지의 핵심에 도달하는 방법을 가지고 있습니다. 그들은 사람들을 읽는 것에 대한 선천적 인 감각을 가질 수도 있고 올바른 질문을하는 것에 정말로 능숙 할 수도 있습니다. 관계없이 정직한 면접에 반드시 접근해야합니다.

당신이 부정직하게 인터뷰를하는 경우, 면접관이 당신을 바로 볼 때 당신은 직업을 갖지 못할 것이며, 그렇지 않으면 당신은 부적합한 직업을 갖게 될 것입니다. 면접 원이 듣고 싶어하는 것에 집중하지 마십시오. 대신에 호에 집중하라.


출처:

http://www.forbes.com/sites/travisbradberry/2015/04/14/ace-the-top-50-interview-questions/2/



Posted by Joseph514
해외생활이야기2017. 8. 27. 14:29

[JOBINTERVIEW]자주 묻는 자바 인터뷰 2 FAQ(Frequently Asked Questions)



자바 잡 인터뷰에서 자주 묻는 질문과 답변 두번째 번역입니다.

Top Java Frequently Asked Questions- 2


51. Are true and false keywords? 

true 및 false 값은 키워드입니까?

The values true and false are not keywords. 

true 및 false 값은 키워드가 아닙니다.


52. What is a void return type? 

무효 반환 유형(void return type)이란 무엇입니까?

A void return type indicates that a method does not return a value after its execution. 

void return type은 메서드 실행 후 값을 반환하지 않음을 나타냅니다.


53. What is the difference between the File and RandomAccessFile classes? 

File과 RandomAccessFile 클래스의 차이점은 무엇입니까?

The File class encapsulates the files and directories of the local file system. The RandomAccessFile class provides the methods needed to directly access data contained in any part of a file. 

File 클래스는 로컬 파일 시스템의 파일과 디렉토리를 캡슐화합니다. RandomAccessFile 클래스는 파일의 모든 부분에 포함 된 데이터에 직접 액세스하는 데 필요한 메서드를 제공합니다.


54. Which package is always imported by default? 

기본적(default)로 항상 가져 오는 패키지는 무엇입니까?

The java.lang package is always imported by default in all Java Classes.

java.lang 패키지는 기본적으로 모든 Java 클래스에서 가져옵니다. 


55. What restrictions are placed on method overriding? 

method overriding 재정의에는 어떤 제한이 있습니까?

Overridden methods must have the same name, argument list, and return type. The overriding method may not limit the access of the method it overrides but it can expand it. The overriding method may not throw any exceptions that are not thrown by the overridden method. 

Overridden methods는 name, argument list 및 return type이 동일해야합니다. 오버라이드 (override)하는 메소드는 오버라이드 (override)하는 메소드의 액세스를 제한하지 않고 확장 할 수 있습니다. 오버라이드 (override)되는 메소드는, 오버라이드 (override) 된 메소드에 의해 슬로우되지 않는 예외를 throw하지 않습니다.


56. Which arithmetic operations can result in the throwing of an ArithmeticException? 

어떤 arithmetic operations이 ArithmeticException을 던질 수 있습니까?

Integer / and % can result in the throwing of an ArithmeticException. 

정수 /와 %는 ArithmeticException을 던질 수 있습니다.


57. What is the ResourceBundle class? 

ResourceBundle 클래스 란 무엇입니까?

The ResourceBundle class is used to store locale-specific resources that can be loaded by a program to tailor the program's appearance to the particular locale in which it is being run. 

ResourceBundle 클래스는, 프로그램의 외관을 실행하고있는 특정의 로케일에 맞추기 위해서, 프로그램에 의해로드 할 수있는 로케일 고유의 리소스를 포함하기 위해서 사용됩니다.


58. What is numeric promotion? 

numeric promotion이란 무엇입니까?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to int values. The int values are also converted to long values, if necessary. The long and float values are converted to double values, as required. 

Numeric promotion은 더 작은 숫자 유형을 더 큰 숫자 유형으로 변환하므로 정수 및 부동 소수점 연산이 발생할 수 있습니다. numerical promotion에서는 byte, char 및 short 값이 int 값으로 변환됩니다. 필요한 경우 int 값도 long 값으로 변환됩니다. long 및 float 값은 필요에 따라 double 값으로 변환됩니다.


59. To what value is a variable of the boolean type automatically initialized? 

boolean type의 변수가 자동으로 초기화되는 값은 무엇입니까?

The default value of the boolean type is false. 

boolean type의 기본값(default)은 false입니다.


60. What is the difference between the prefix and postfix forms of the ++ operator? 

++ 연산자의 접두사(prefix)와 접미사(postfix) 형식의 차이점은 무엇입니까?

The prefix form performs the increment operation and returns the value of the increment operation. The postfix form returns the current value to the expression and then performs the increment operation on that value. 

prefix form은 증가 조작을 수행하고 증가 조작의 값을 리턴합니다. postfix form은 현재 값을 표현식으로 리턴 한 다음 해당 값에 대해 증가 조작을 수행합니다.


61. What is the purpose of a statement block? 

statement block의 목적은 무엇입니까?

A statement block is used to organize a sequence of statements as a single statement group. 

statement block은 명령문 시퀀스를 single statement group으로 구성하는 데 사용됩니다.


62. What is the difference between an if statement and a switch statement? 

if 문과 switch 문의 차이점은 무엇입니까?

The if statement is used to select among two alternatives. It uses a boolean expression to decide which alternative should be executed. The switch statement is used to select among multiple alternatives. It uses an int expression to determine which alternative should be executed. 

A Switch statement with 5 Case blocks can be compared to an if statement with 5 else-if blocks. 

if 문은 두 가지 대안 중에서 선택하는 데 사용됩니다. boolean 표현식을 사용하여 어떤 대안을 실행할지 결정합니다. switch 문은 여러 대안 중에서 선택하는 데 사용됩니다. int 식을 사용하여 어떤 대안을 실행해야하는지 결정합니다.

5 개의 Case 블록이있는 Switch 문은 5 개의 else-if 블록이있는 if 문과 비교할 수 있습니다.


63. What do you mean by object oreiented programming 

객체 지향 프로그래밍이란 무엇을 의미합니까?

In object oreinted programming the emphasis is more on data than on the procedure and the program is divided into objects. Some concepts in OO Programming are: 

* The data fields are hidden and they cant be accessed by external functions. 

* The design approach is bottom up. 

* The Methods operate on data that is tied together in data structure 

객체 지향 프로그래밍에서 강조는 프로 시저보다 데이터에 더 중점을 두며 프로그램은 객체로 나뉩니다. OO 프로그래밍의 몇 가지 개념은 다음과 같습니다.

* 데이터 필드는 숨겨져 있으며 외부 함수를 통해 액세스 할 수 없습니다.

* 디자인 접근법은 상향식입니다.

* 메서드는 데이터 구조에서 함께 묶인 데이터에서 작동합니다.


64. What are 4 pillars of object oreinted programming 

object oreinted 프로그래밍의 4 가지 핵심 요소는 무엇입니까?

1. Abstraction - It means hiding the details and only exposing the essentioal parts 

2. Polymorphism - Polymorphism means having many forms. In java you can see polymorphism when you have multiple methods with the same name 

3. Inheritance - Inheritance means the child class inherits the non private properties of the parent class 

4. Encapsulation - It means data hiding. In java with encapsulate the data by making it private and even we want some other class to work on that data then the setter and getter methods are provided 

1. 추상화 - 세부 사항을 숨기고 본질적인 부분 만 드러내는 것을 의미합니다.

2. 다형성 - 다형성은 여러 형태를 갖는 것을 의미합니다. 자바에서는 동일한 이름을 가진 여러 메소드가있을 때 다형성을 볼 수 있습니다.

3. 상속 - 상속은 자식 클래스가 부모 클래스의 비공개 속성을 상속 받음을 의미합니다.

4. 캡슐화 - 데이터 숨기기를 의미합니다. 자바에서는 데이터를 비공개로 캡슐화하고 심지어 다른 클래스가 해당 데이터에서 작업하기를 원한다면 setter 및 getter 메소드가 제공됩니다.


65. Difference between procedural and object oreinted language 

절차 적 언어와 객체 언어의 차이점

In procedural programming the instructions are executed one after another and the data is exposed to the whole program 

In Object Oriented programming the unit of program is an object which is nothing but combination of data and code and the data is not exposed outside the object 

절차 형 프로그래밍에서 명령어는 차례로 실행되고 데이터는 전체 프로그램에 노출됩니다

객체 지향 프로그래밍에서 프로그램 단위는 데이터와 코드의 조합에 지나지 않으며 객체 외부에 노출되지 않는 객체입니다


66. What is the difference between parameters and arguments 

매개 변수(parameters)와 인수(arguments)의 차이점은 무엇입니까?

While defining method, variables passed in the method are called parameters. While using those methods, values passed to those variables are called arguments. 

메서드를 정의하는 동안이 메서드에서 전달 된 변수를 매개 변수라고합니다. 이러한 메소드를 사용하는 동안 이러한 변수에 전달 된 값을 인수라고합니다.


67. What is reflection in java 

자바에서 reflection이란 무엇입니까?

Reflection allows Java code to discover information about the fields, methods and constructors of loaded classes and to dynamically invoke them. The Java Reflection API covers the Reflection features. 

Reflection은 Java 코드가 로드 된 클래스의 필드, 메소드 및 생성자에 대한 정보를 발견하고 동적으로 호출하도록 허용합니다. Java Reflection API는 Reflection 기능을 다룹니다.


68. What is a cloneable interface and how many methods does it contain 

cloneable 인터페이스 란 무엇이며 얼마나 많은 메소드에 포함되어 있습니까?

The cloneable interface is used to identify objects that can be cloned using the Object.clone() method. It is a Tagged or a Marker Interface and hence it does not have any methods. 

cloneable 인터페이스는 Object.clone () 메서드를 사용하여 복제 할 수있는 객체를 식별하는 데 사용됩니다. 이것은 Tagged 또는 Marker Interface이므로 어떠한 메소드도 가지고 있지 않습니다.


69. What is the difference between Java Bean and Java Class

Java Bean과 Java 클래스의 차이점은 무엇입니까?

Basically a Bean is a java class but it has getter and setter method and it does not have any logic in it

기본적으로 Bean은 Java 클래스이지만 getter 및 setter 메서드가 있으며 논리가 없으므로 데이터 보유에 사용됩니다.

반면에 Java 클래스는 Java Bean의 내용을 가질 수 있으며 내부에 일부 논리를 포함합니다.


70. What are null or Marker interfaces in Java ?

Java에서 null 또는 Marker 인터페이스 란 무엇입니까?

The null interfaces or marker interfaces or Tagged Interfaces, do not have method declarations in them. They are empty interfaces, this is to convey the compiler that they have to be treated differently 

null interfaces 또는 marker interfaces 또는 Tagged Interfaces 메소드 선언이 없습니다. 그들은 빈 인터페이스이며, 이것은 다르게 취급되어야하는 컴파일러를 전달하는 것입니다.


71. Does java Support multiple inheritance ?

Java가 다중 상속을 지원합니까?

Java does not support multiple inheritance directly like C++, because then it is prone to ambiguity, example if a class extends 2 other classes and these 2 parent classes have same method names then there is ambiguity. Hence in Partial Java Multiple inheritance is supported using Interfaces 

Java는 C ++과 같은 다중 상속을 지원하지 않습니다. 왜냐하면 클래스가 다른 2 개의 클래스를 확장하고 이러한 2 개의 부모 클래스가 동일한 메소드 이름을 갖고 모호한 경우 예를 들어 애매하게되기 쉽기 때문입니다. 그러므로 부분 Java에서 인터페이스를 사용하여 다중 상속이 지원됩니다.


72. What are virtual function ?

virtual function이란 무엇입니까?

In OOP when a derived class inherits from a base class, an object of the derived class may be referred to (or cast) as either being the base class type or the derived class type. If there are base class functions overridden by the derived class, a problem then arises when a derived object has been cast as the base class type. When a derived object is referred to as being of the base's type, the desired function call behavior is ambiguous. 

The distinction between virtual and not virtual is provided to solve this issue. If the function in question is designated "virtual" then the derived class's function would be called (if it exists). If it is not virtual, the base class's function would be called. 

파생 클래스가 기본 클래스에서 상속되는 OOP에서 파생 클래스의 개체는 기본 클래스 형식 또는 파생 클래스 형식으로 참조 (또는 형 변환) 될 수 있습니다. 파생 클래스에 의해 재정의 된 기본 클래스 함수가있는 경우 파생 개체가 기본 클래스 유형으로 캐스팅 된 경우 문제가 발생합니다. 파생 된 객체가 기본 유형으로 참조되면 원하는 함수 호출 동작이 모호합니다.

이 문제를 해결하기 위해 가상과 가상의 구별이 제공됩니다. 해당 함수가 "가상"으로 지정된 경우 파생 클래스의 함수가 호출됩니다 (있는 경우). 가상 클래스가 아닌 경우 기본 클래스의 함수가 호출됩니다.


73. Does java support virtual functions ?

Java는 가상 함수를 지원합니까?

No java does not support virtual functions direclty like in C++, but it supports using Abstract class and interfaces 

C ++과 같이 virtual functions direclty를 지원하지 않는 Java는 없지만 Abstract 클래스 및 인터페이스 사용을 지원합니다.


74. What is JVM ?

JVM이란 무엇입니까?

When we install a java package. It contains 2 things 

* The Java Runtime Environment (JRE) 

* The Java Development Kit (JDK) 

The JRE provides runtime support for Java applications. The JDK provides the Java compiler and other development tools. The JDK includes the JRE. 

Both the JRE and the JDK include a Java Virtual Machine (JVM). This is the application that executes a Java program. A Java program requires a JVM to run on a particular platform 

우리가 자바 패키지를 설치할 때. 그것은 2 가지를 포함합니다.

* 자바 런타임 환경 (JRE)

* Java Development Kit (JDK)

JRE는 Java 응용 프로그램에 대한 런타임 지원을 제공합니다. JDK는 Java 컴파일러 및 기타 개발 도구를 제공합니다. JDK에는 JRE가 포함되어 있습니다.

JRE와 JDK는 JVM (Java Virtual Machine)을 포함합니다. 이것은 Java 프로그램을 실행하는 응용 프로그램입니다. Java 프로그램을 사용하려면 특정 플랫폼에서 JVM을 실행해야합니다.


75. What is the difference between Authentication and Authorization ?

인증(Authentication)과 권한 부여(Authorization)의 차이점은 무엇입니까?

Authentication is a process for verifying that an individual is who they say they are. Authorization is an additional level of security, and it means that a particular user (usually authenticated), may have access to a particular resource say record, file, directory or script. 

인증(Authentication)은 개인이 자신이 말하는 사람인지 확인하는 프로세스입니다. 권한 부여(Authorization)은 추가 보안 수준이며 특정 사용자 (대개 인증 된 사용자)가 레코드, 파일, 디렉토리 또는 스크립트와 같은 특정 리소스에 액세스 할 수 있음을 의미합니다.


76. What types of values does boolean variables take ?

boolean 변수는 어떤 유형의 값을 취합니까?

It only takes values true and false. 

그것은 참(true)과 거짓(false) 만 값을 취합니다.


77. Which primitive datatypes are signed ?

어떤 primitive 데이터 타입이 signed 되었는가?

All primitive datatypes are signed except char and Boolean

모든 primitive 데이터 유형은 char 및 Boolean을 제외하고 signed 됩니다.


78. Is char type signed or unsigned ?

char 타입이 signed 또는 unsigned입니까?

char type is integral but unsigned. It range is 0 to 2^7-1

char type은 필수이지만 부호가 없습니다. 범위는 0 ~ 2 ^ 7-1입니다.


79. What forms an integral literal can be ?

integral literal를 형성하는 것은 무엇일 수 있습니까?

decimal, octal and hexadecimal, hence example it can be 28, 034 and 0x1c respectively 

10 진수, 8 진수 및 16 진수이므로 예를 들어 28, 034 및 0x1c가 될 수 있습니다


80. Why is the main method static ?

왜 main method는 static 입니까?

So that it can be invoked without creating an instance of that class 

그 클래스의 인스턴스를 생성하지 않아도 호출 될 수 있습니다.


81. What is the difference between class variable, member variable and automatic(local) variable 

클래스 변수, 멤버 변수 및 자동 (로컬) 변수의 차이점은 무엇입니까?

class variable is a static variable and does not belong to instance of class but rather shared across all the instances of the Class. 

member variable belongs to a particular instance of class and can be called from any method of the class 

automatic or local variable is created on entry to a method and is alive only when the method is executed

class 변수는 정적 변수이며 클래스의 인스턴스에 속하지 않지만 클래스의 모든 인스턴스에서 공유됩니다.

member 변수는 클래스의 특정 인스턴스에 속하며 클래스의 모든 메서드에서 호출 할 수 있습니다.

automatic 또는 local 변수는 메소드 진입시 작성되며 메소드가 실행될 때만 활성화됩니다.


82. When are static and non static variables of the class initialized ?

클래스의 정적 및 비 정적 변수는 언제 초기화됩니까?

The static variables are initialized when the class is loaded

Non static variables are initialized just before the constructor is called 

정적 변수는 클래스가 로드 될 때 초기화됩니다.

static이 아닌 변수는 생성자가 호출되기 바로 전에 초기화됩니다.


83. How is an argument passed in java, is it by copy or by reference? 

자바에서 전달되는 인수는 copy 또는 reference로 어떻게 전달됩니까?

If the variable is primitive datatype then it is passed by copy. 

If the variable is an object then it is passed by reference 

변수가 primitive 데이터 유형이면 사본으로 전달됩니다.

변수가 object이면 참조로 전달됩니다.


84. How does bitwise (~) operator work ?

비트 연산자 (~)는 어떻게 작동합니까?

It converts all the 1 bits in a binary value to 0s and all the 0 bits to 1s, e.g 11110000 gets coverted to 00001111 

이진 값의 모든 1 비트를 0으로 변환하고 0 비트를 모두 1로 변환합니다. 예를 들어, 11110000은 00001111


85. Can shift operators be applied to float types ?

연산자를 부동 소수점 형에 적용 할 수 있습니까?

No, shift operators can be applied only to integer or long types (whole numbers)

아니요, shift 연산자는 정수 또는 긴 유형 (정수)에만 적용 할 수 있습니다.


86. What happens to the bits that fall off after shifting ?

shifting 후 떨어지는 비트는 어떻게됩니까?

They are discarded (ignored)

그것들은 무시됩니다 (무시 됨).


87. What are the rules for overriding ?

무시하는 규칙은 무엇입니까?

The rules for Overriding are: Private method can be overridden by private, protected or public methods Friendly method can be overridden by protected or public methods Protected method can be overridden by protected or public methods Public method can be overridden by public method 

Overriding의 규칙은 다음과 같습니다. Private method는 private, protected 또는 public methods로 재정의 할 수 있습니다. Friendly method는 protected 메서드 또는 public 메서드로 재정의 할 수 있습니다. Protected 메서드는 protected 메서드 나 public 메서드로 overridden 할 수 있습니다. Public 메서드는 public 메서드로 재정의 할 수 있습니다.


88. Explain the final Modifier ?

final Modifier를 설명 하시겠습니까?

Final can be applied to classes, methods and variables and the features cannot be changed. Final class cannot be subclassed, methods cannot be overridden 

final은 클래스, 메서드 및 변수에 적용 할 수 있으며 기능을 변경할 수 없습니다. Final 클래스는 subclassed로 만들 수 없으며 메서드를 overridden 할 수 없습니다.


89. Can you change the reference of the final object ?

final 객체의 reference를 변경할 수 있습니까?

No the reference cannot be changed, but the data in that object can be changed 

reference를 변경할 수는 없지만 해당 객체의 데이터는 변경할 수 있습니다.


90. Can abstract modifier be applied to a variable ?

abstract modifier를 변수에 적용 할 수 있습니까?

No it can be applied only to class and methods 

아니요. 클래스와 메소드에만 적용 할 수 있습니다.


91. Where can static modifiers be used ?

static modifiers를 어디에서 사용할 수 있습니까?

They can be applied to variables, methods and even a block of code, static methods and variables are not associated with any instance of class 

그것들은 변수, 메소드 및 심지어 코드 블록에도 적용될 수 있습니다. 정적 메소드 및 변수는 클래스의 모든 인스턴스와 연관되지 않습니다.


92. When are the static variables loaded into the memory 

정적 변수는 언제 메모리에 로드됩니까?

During the class load time 

class 로딩 시간 동안


93. When are the non static variables loaded into the memory ?

non static 변수는 언제 메모리에 로드 됩니까?

They are loaded just before the constructor is called 

생성자가 호출되기 바로 전에로드됩니다.


94. How can you reference static variables ?

정적 변수(static variables)를 어떻게 참조 할 수 있습니까?

You can refer to static variables directly using the class name and you dont need any object instance for it. 

Ex: ClassTest.execMethod(); can be used to access the execMethod() method of the class ClassTest

클래스 이름을 사용하여 정적 변수를 직접 참조 할 수 있으며 그 대신 객체 인스턴스가 필요하지 않습니다.

예 : ClassTest.execMethod (); ClassTest 클래스의 execMethod () 메서드에 액세스하는 데 사용할 수 있습니다.


95. Can static method use non static features of there class ?

정적 메서드는 클래스의 정적이 아닌 기능을 사용할 수 있습니까?

No they are not allowed to use non static features of the class, they can only call static methods and can use static data 

클래스의 정적이 아닌 기능을 사용할 수 없으며 정적 메서드 만 호출 할 수 있고 정적 데이터를 사용할 수 있습니다.


96. What is static initializer code ?

static initializer code 란 무엇입니까?

A class can have a block of initializer code that is simply surrounded by curly braces and labeled as static e.g. 

public class Test{ 

static int =10; 

static{ 

System.out.println("Hiiiiiii"); 

And this code is executed exactly once at the time of class load 

클래스는 중괄호로 둘러싸여 있고 static으로 레이블이 지정된 초기화 코드 블록을 가질 수 있습니다.

public class Test{ 

static int =10; 

static{ 

System.out.println("Hiiiiiii"); 

그리고이 코드는 클래스를로드 할 때 정확히 한 번 실행됩니다.


97. Where is native modifier used? 

native modifier는 어디에 사용됩니까?

It can refer only to methods and it indicates that the body of the method is to be found else where and it is usually written in language other than Java. 

메서드에만 참조 할 수 있으며 메서드의 본문을 찾을 수 있음을 나타냅니다. 일반적으로 Java 이외의 다른 언어로 작성됩니다.


98. When do you use continue and when do you use break statements ?

언제 continue를 사용합니까? 그리고 언제 break 문을 사용합니까?

When continue statement is applied it prematurely completes the iteration of a loop. 

When break statement is applied it causes the entire loop to be abandoned. 

continue 문을 적용하면 조기에 루프 반복이 완료됩니다.

break 문이 적용되면 전체 루프가 포기됩니다.


99. What do you understand by late binding or virtual method Invocation ?

late binding 또는  virtual method Invocation로 무엇을 이해합니까?

When a compiler for a non object oriented language comes across a method invocation, it determines exactly what target code should be called and build machine language to represent that call. In an object oriented language, this is not possible since the proper code to invoke is determined based upon the class if the object being used to make the call, not the type of the variable. Instead code is generated that will allow the decision to be made at run time. This delayed decision making is called as late binding 

비 객체 지향 언어를 위한 컴파일러가 메소드 호출을 가로 질러 오면, 정확히 어떤 타겟 코드가 호출되어야 하는지를 결정하고 그 호출을 표현하기위한 기계어를 빌드한다. 객체 지향 언어에서는 호출 할 적절한 코드가 변수의 형식이 아니라 호출하는 데 사용되는 경우 클래스를 기반으로 결정되기 때문에 가능하지 않습니다. 대신 런타임에 결정을 내릴 수있는 코드가 생성됩니다. 지연된 의사 결정은 지연 바인딩이라고합니다.


100. Can Overridden methods have different return types ?

오버라이드 된 메소드가 다른 return types을 가질 수 있습니까?

No they cannot have different return types 

다른 return types을 사용할 수 없습니다.


101. If the method to be overridden has access type protected, can subclass have the access type as private 

재정의 할 메소드에 액세스 유형이 protected 인 경우, 서브 클래스는 private로 액세스 유형을 가질 수 있습니다.

No, it must have access type as protected or public, since an overriding method must not be less accessible than the method it overrides 

아니요, 오버라이드하는 메소드가 오버라이드하는 메소드보다 덜 액세스 할 수 없으므로 액세스 유형이 protected 또는 public이어야합니다.


102. What are the Final fields & Final Methods ? 

최종 필드 및 최종 방법은 무엇입니까?

Fields and methods can also be declared final. A final method cannot be overridden in a subclass. A final field is like a constant: once it has been given a value, it cannot be assigned again.

필드와 메소드도 final로 선언 할 수 있습니다. 서브 클래스에서는 최종 메소드를 오버라이드 할 수 없습니다. 마지막 필드는 상수와 같습니다. 일단 값이 주어지면 다시 할당 할 수 없습니다.


원문출처 : http://java4732.blogspot.kr/2014/09/qus-write-program-to-calculate-largest.html



Posted by Joseph514
해외생활이야기2017. 8. 27. 12:31

[JOBINTERVIEW]자주 묻는 자바 인터뷰 FAQ(Frequently Asked Questions)



자바개발에 관한 인터뷰 질문과 답변을 번역기와 제 발번역으로 한번 번역해봤습니다.



Top Java Frequently Asked Questions

자주 묻는 질문 (FAQ)


1. Can you write a Java class that could be used both as an applet as well as an application? 

애플리케이션뿐만 아니라 애플릿으로도 사용할 수있는 Java 클래스를 작성할 수 있습니까?

Yes. Just, add a main() method to the applet. 

예. 그냥 main() 메소드를 애플릿에 추가하십시오.


2. Explain the usage of Java packages. 

Java 패키지의 사용법을 설명하십시오.

This is a way to organize files when a project consists of multiple modules. It also helps resolve naming conflicts when different packages have classes with the same names. Packages access level also allows you to protect data from being used by the non-authorized classes. 

이것은 프로젝트가 여러 모듈로 구성되어있을 때 파일을 구성하는 방법입니다. 또한 다른 패키지에 같은 이름의 클래스가있을 때 이름 충돌을 해결하는 데 도움이됩니다. 패키지 액세스 레벨을 사용하면 권한이없는 클래스가 데이터를 사용하지 못하게 할 수 있습니다.


3. If a class is located in a package, what do you need to change in the OS environment to be able to use it? 

클래스가 패키지에 있는 경우 이를 사용할 수 있으려면 OS 환경에서 무엇을 변경해야합니까?

You need to add a directory or a jar file that contains the package directories to the CLASSPATH environment variable. Once the class is available in the CLASSPATH, any other Java program can use it. 

패키지 디렉토리를 포함하는 jar 파일 또는 디렉토리를 CLASSPATH 환경 변수에 추가해야합니다. 클래스가 CLASSPATH에서 사용 가능 해지면 다른 Java 프로그램도이를 사용할 수 있습니다.


4. What's the difference between J2SDK 1.5 and J2SDK 5.0? 

J2SDK 1.5와 J2SDK 5.0의 차이점은 무엇입니까?

There's no difference, Sun Microsystems just re-branded this version. 

차이점은 없습니다. Sun Microsystems는이 버전을 다시 브랜드화했습니다.


5. What are the static fields & static Methods ? 

정적 필드(static fields) 및 정적 메소드(static Methods) 란 무엇입니까?

If a field or method defined as a static, there is only one copy for entire class, rather than one copy for each instance of class. static method cannot accecss non-static field or call non-static methods 

필드 또는 메소드가 정적으로 정의 된 경우 클래스의 각 인스턴스에 대해 하나의 복사본이 아닌 전체 클래스에 대해 하나의 복사본 만 있습니다. 정적 메서드는 비 정적 필드를 accecss하거나 비 정적 메서드를 호출 할 수 없습니다.


6. How are Observer and Observable used?

Observer와 Observable은 어떻게 사용됩니까?

Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects. 

Observable 클래스의 하위 클래스 인 객체는 옵저버 목록을 유지 관리합니다. Observable 객체가 업데이트되면 각 옵저버의 update () 메소드를 호출하여 옵저버에게 상태가 변경되었음을 알립니다. Observer 인터페이스는 Observable 객체를 관찰하는 객체에 의해 구현됩니다.


7. Is null a keyword?

null이 키워드입니까?

No, the null value is not a keyword. 

아니요, null 값은 키워드가 아닙니다.


8. Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

식별자의 두 번째 문자로 사용할 수 있지만 식별자의 첫 번째 문자로 사용할 수없는 문자는 무엇입니까?

The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier. 

0에서 9까지의 숫자는 식별자의 첫 문자로 사용할 수 없지만 식별자의 첫 문자 뒤에 사용할 수 있습니다.


9. How does Java handle integer overflows and underflows? 

Java는 정수 오버 플로우(integer overflows)와 언더 플로우(underflows)를 어떻게 처리합니까?

It uses those low order bytes of the result that can fit into the size of the type allowed by the operation. 

연산에 허용 된 유형의 크기에 맞출 수있는 결과의 하위 바이트를 사용합니다.


10. What is the difference between the >> and >>> operators? 

'>>' 연산자와 '>>>' 연산자의 차이점은 무엇입니까?

The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out. 

>> 연산자는 오른쪽으로 이동할 때 부호 비트를 전달합니다. >>> zero-fills bits 비트가 이동되었습니다.


11. How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? 

유니 코드, ASCII, UTF-16 및 UTF-8 문자를 나타내는 데 사용되는 비트 수는 얼마입니까?

Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns. 

유니 코드는 16 비트가 필요하고 ASCII는 7 비트가 필요합니다. ASCII 문자 집합은 7 비트 만 사용하지만 대개 8 비트로 표시됩니다. UTF-8은 8, 16 및 18 비트 패턴을 사용하는 문자를 나타냅니다. UTF-16은 16 비트 이상의 비트 패턴을 사용합니다.


12. Is sizeof a keyword? 

sizeof는 키워드입니까?

No, the sizeof operator is not a keyword. 

아니요, sizeof 연산자는 키워드가 아닙니다.


13. What restrictions are placed on the location of a package statement within a source code file?

소스 코드 파일 내의 패키지 문의 위치에는 어떤 제한이 있습니까?

A package statement must appear as the first line in a source code file (excluding blank lines and comments). It cannot appear anywhere else in a source code file. 

package 문은 소스 코드 파일의 첫 번째 행으로 나타나야합니다 (빈 행 및 주석 제외). 소스 코드 파일의 다른 곳에서는 사용할 수 없습니다.


14. What value does readLine() return when it has reached the end of a file?

readLine ()은 파일의 끝에 도달했을 때 어떤 값을 리턴합니까?

The readLine() method returns null when it has reached the end of a file. 

readLine () 메서드는 파일의 끝에 도달하면 null을 반환합니다.


15. What is a native method? 

native method 이란 무엇입니까?

A native method is a method that is implemented in a language other than Java. 

native method는 Java 이외의 언어로 구현되는 메서드입니다.


16. Can a for statement loop indefinitely?

for문 루프를 무기한으로 사용할 수 있습니까? 

Yes, a for statement can loop indefinitely. 

예, for문은 무한 루프 할 수 있습니다.

Ex: 

for(;;) ; 


17. What are order of precedence and associativity, and how are they used? 

우선 순위와 연관성의 순서는 무엇이며 어떻게 사용됩니까?

Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left 

우선 순위는 표현식에서 연산자가 평가되는 순서를 결정합니다. 연관성은 표현식이 왼쪽에서 오른쪽으로 또는 오른쪽에서 왼쪽으로 평가되는지 여부를 결정합니다.


18. What is the range of the short type? 

short type의 범위는 무엇입니까?

The range of the short data type is -(2^15) to 2^15 - 1. 

짧은 데이터 형식의 범위는 - (2 ^ 15) - 2 ^ 15 - 1입니다.


19. What is the range of the char type?

char type의 범위는 무엇입니까? 

The range of the char type is 0 to 2^16 - 1. 

char 형의 범위는 0 ~ 2 ^ 16 - 1입니다.


20. What is the difference between the Boolean & operator and the && operator? 

Boolean & 연산자와 && 연산자의 차이점은 무엇입니까?

&& is a short-circuit AND operator - i.e., The second condition will be evaluated only if the first condition is true. If the first condition is true, the system does not waste its time executing the second condition because, the overall output is going to be false because of the one failed condition. 

& operator is a regular AND operator - i.e., Both conditions will be evaluated always. 

&&는 단락 회로 AND 연산자입니다. 즉, 두 번째 조건은 첫 번째 조건이 참일 때만 평가됩니다. 첫 번째 조건이 참이면 시스템은 두 번째 조건을 실행하는 데 시간을 낭비하지 않으므로 하나의 실패 조건으로 인해 전체 출력이 거짓 일 것이기 때문입니다.

& 연산자는 정규 AND 연산자입니다. 즉, 두 조건이 항상 평가됩니다.


21. What is the GregorianCalendar class? 

GregorianCalendar 클래스 란 무엇입니까?

The GregorianCalendar provides support for traditional Western calendars. 

GregorianCalendar는 전통적인 서양 달력을 지원합니다.


22. What is the purpose of the Runtime class? 

Runtime 클래스의 목적은 무엇입니까?

The purpose of the Runtime class is to provide access to the Java runtime system. 

Runtime 클래스의 목적은 Java 런타임 시스템에 대한 액세스를 제공하는 것입니다.


23. What is the argument type of a program's main() method? 

프로그램의 main() 메소드의 인수 유형은 무엇입니까?

A program's main() method takes an argument of the String[] type. (A String Array)

프로그램의 main () 메소드는 String [] 유형의 인수를 취합니다. (문자열 배열) 


24. Which Java operator is right associative? 

어떤 자바 연산자가 right associative입니까?

The = operator is right associative.

'='연산자가 right associative입니다. 


25. What is the Locale class? 

Locale 클래스 란 무엇입니까?

This class is used in conjunction with DateFormat and NumberFormat to format dates, numbers and currency for specific locales. With the help of the Locale class you’ll be able to convert a date like “10/10/2005” to “Segunda-feira, 10 de Outubro de 2005” in no time. If you want to manipulate dates without producing formatted output, you can use the Locale class directly with the Calendar class

이 클래스는 DateFormat 및 NumberFormat과 함께 사용되어 특정 로케일의 날짜, 숫자 및 통화의 서식을 지정합니다. Locale 클래스의 도움으로 "10/10/2005"와 같은 날짜를 "Segunda-feira, 10 de Outubro de 2005"로 즉시 변환 할 수 있습니다. 형식화 된 출력을 생성하지 않고 날짜를 조작하려면 Calendar 클래스와 함께 Locale 클래스를 직접 사용할 수 있습니다.


26. Can a double value be cast to a byte? 

double 값을 한 바이트로 형변환 할 수 있습니까?

Yes, a double value can be cast to a byte. But, it will result in loss of precision. 

예, double 값을 바이트로 형변환 할 수 있습니다. 하지만 정밀도가 떨어질 수 있습니다.


27. What is the difference between a break statement and a continue statement? 

break 문과 continue 문 사이의 차이점은 무엇입니까?

A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the beginning of the loop. 

break 문을 사용하면 적용되는 명령문이 종료됩니다 (switch, for, do 또는 while). continue 문은 현재 루프 반복을 끝내고 제어를 루프 시작 부분으로 되돌리기 위해 사용됩니다.


28. How are commas used in the intialization and iterationparts of a for statement? 

for문을 초기화하고 반복 할 때 쉼표는 어떻게 사용됩니까?

Commas are used to separate multiple statements within the initialization and iteration parts of a for statement. 

쉼표는 for 문에서 초기화 및 반복 부분 내에서 여러 명령문을 분리하는 데 사용됩니다.


29. How are Java source code files named? 

Java 소스 코드 파일의 이름은 어떻게 지정됩니까?

A Java source code file takes the name of a public class or interface that is defined within the file. A source code file may contain at most one public class or interface. If a public class or interface is defined within a source code file, then the source code file must take the name of the public class or interface. If no public class or interface is defined within a source code file, then the file can take on a name that is different than its classes and interfaces. Source code files use the .java extension. 

Java 소스 코드 파일은 파일 내에 정의 된 공용 클래스 또는 인터페이스의 이름을 사용합니다. 소스 코드 파일에는 하나 이상의 공용 클래스 또는 인터페이스가 포함될 수 있습니다. 공용 클래스 또는 인터페이스가 소스 코드 파일 내에 정의 된 경우 소스 코드 파일은 공용 클래스 또는 인터페이스의 이름을 가져야합니다. 소스 코드 파일 내에 공용 클래스 나 인터페이스가 정의되어 있지 않으면 해당 파일은 해당 클래스와 인터페이스와 다른 이름을 사용할 수 있습니다. 소스 코드 파일은 .java 확장자를 사용합니다.


30. What value does read() return when it has reached the end of a file? 

파일의 끝에 도달했을 때 read ()가 반환하는 값은 무엇입니까?

The read() method returns -1 when it has reached the end of a file. 

read () 메서드는 파일의 끝에 도달하면 -1을 반환합니다.


31. Can a Byte object be cast to a double value? 

Byte 객체를 double 값으로 변환 할 수 있습니까?

No, an object cannot be cast to a primitive value. 

아니요, 객체는 원시(primitive) 값으로 형변환 될 수 없습니다.


32. What is the Dictionary class? 

Dictionary 클래스 란 무엇입니까?

The Dictionary class provides the capability to store key-value pairs. It is the predecessor to the current day HashMap and Hashtable. 

Dictionary 클래스는 키 - 값 쌍을 저장할 수있는 기능을 제공합니다. 현재의 HashMap과 Hashtable의 전신입니다.


33. What is the % operator? 

% 연산자 란 무엇입니까?

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand. 

모듈로(modulo) 또는 나머지 연산자(remainder operator)라고 합니다. 첫 번째 피연산자를 두 번째 피연산자로 나눈 나머지를 반환합니다.


34. What is the difference between the Font and FontMetrics classes?

Font 클래스와 FontMetrics 클래스의 차이점은 무엇입니까?

The FontMetrics class is used to define implementation-specific properties, such as ascent and descent, of a Font object. 

FontMetrics 클래스는, Font 오브젝트의 상승(ascent) 및 하강(descent)등의 구현 고유의 property를 정의하기 위해서 사용합니다.


35. How is rounding performed under integer division? 

정수 나누기에서 반올림은 어떻게 수행됩니까?

The fractional part of the result is truncated. This is known as rounding toward zero. 

결과의 소수 부분이 잘립니다. 이것은 0으로 반올림하는 것으로 알려져 있습니다.


36. What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

Reader / Writer 클래스 계층 구조와 InputStream / OutputStream 클래스 계층 구조의 차이점은 무엇입니까?

The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented. 

Reader / Writer 클래스 계층 구조는 문자 지향이며 InputStream / OutputStream 클래스 계층 구조는 바이트 지향입니다.


37. What is the SimpleTimeZone class? 

SimpleTimeZone 클래스 란 무엇입니까?

The SimpleTimeZone class provides support for a Gregorian calendar. You can use it to manipulate dates & times.

SimpleTimeZone 클래스는 그레고리력을 지원합니다. 날짜 및 시간을 조작하는 데 사용할 수 있습니다.


38. For which statements does it make sense to use a label?

어떤 문구에 대해 라벨을 사용하는 것이 맞습니까?

The only statements for which it makes sense to use a label are those statements that can enclose a break or continue statement. 

레이블을 사용하는 것이 합당한 유일한 명령문은 break 또는 continue 문을 포함 할 수있는 명령문입니다.


39. What is the purpose of the System class?

System 클래스의 목적은 무엇입니까?

The purpose of the System class is to provide access to system resources. 

System 클래스의 목적은 시스템 리소스에 대한 액세스를 제공하는 것입니다.


40. Is &&= a valid Java operator? 

 '&&='은 유효한 Java 연산자입니까?

No, it is not a valid operator. 

아니, 유효한 연산자가 아닙니다.


41. Name the eight primitive Java data types. 

기본 Java 데이터 유형 8 가지를 명명하십시오.

The eight primitive types are byte, char, short, int, long, float, double, and boolean. 

여덟 가지 기본 유형은 byte, char, short, int, long, float, double 및 boolean입니다.


42. What restrictions are placed on the values of each case of a switch statement? 

switch 문에 대한 each case의 값에는 어떤 제한이 있습니까?

During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value. 

컴파일하는 동안 switch 문의 each case의 값은 int 값으로 승격 될 수 있는 값으로 평가되어야합니다.


43. What is the difference between a while statement and a do statement? 

while 문과 do 문의 차이점은 무엇입니까?

A while statement checks at the beginning of a loop to see whether the next loop iteration should occur. A do statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will always execute the body of a loop at least once. 

while 문은 루프의 시작 부분에서 다음 루프 반복이 발생하는지 여부를 확인합니다. do 문은 루프의 끝에서 루프의 다음 반복이 발생하는지 여부를 확인합니다. do 문은 항상 루프의 본문을 적어도 한 번 실행합니다


44. What is the difference between static and non-static variables? 

정적(static) 변수와 비 정적(non-static) 변수의 차이점은 무엇입니까?

A static variable is associated with the class as a whole rather than with specific instances or objects of a class. Non-static variables take on unique values with each object instance. 

정적 변수는 특정 인스턴스 또는 클래스의 객체가 아니라 클래스와 전체적으로 연관됩니다. 비 정적 변수는 각 객체 인스턴스에서 고유 한 값을 사용합니다.


45. What is the purpose of the File class? 

File 클래스의 목적은 무엇입니까?

The File class is used to create objects that provide access to the files and directories of a local file system. 

File 클래스는 로컬 파일 시스템의 파일 및 디렉토리에 대한 액세스를 제공하는 객체를 만드는 데 사용됩니다.


46. Which Math method is used to calculate the absolute value of a number?

숫자의 절대 값을 계산하는 데 사용되는 Math 방법은 무엇입니까?

The abs() method is used to calculate absolute values. 

abs () 메서드는 절대 값을 계산하는 데 사용됩니다.


47. Which non-Unicode letter characters may be used as the first character of an identifier?

유니 코드가 아닌 문자가 식별자의 첫 문자로 사용될 수 있습니까?

The non-Unicode letter characters $ and _ may appear as the first character of an identifier 

비 유니 코드 문자 인 '$' 및 '_'은 식별자의 첫 문자로 나타날 수 있습니다.


48. What restrictions are placed on method overloading? 

메소드 오버로딩에는 어떤 제한이 있습니까?

Two methods may not have the same name and argument list but different return types. 

두 메서드는 이름과 인수 목록(argument list)이 같지 않지만 반환 유형이 다를 수 있습니다.


49. What is the return type of a program's main() method? 

프로그램의 main () 메소드의 반환 유형은 무엇입니까?

A program's main() method has a void return type. i.e., the main method does not return anything. 

프로그램의 main () 메소드에는 void 반환 유형이 있습니다. 즉, main 메서드는 아무 것도 반환하지 않습니다.


50. What an I/O filter? 

I / O 필터 란 무엇입니까?

An I/O filter is an object that reads from one stream and writes to another, usually altering the data in some way as it is passed from one stream to another.

I / O 필터는 한 스트림에서 읽고 다른 스트림에 씁니다. 일반적으로 한 스트림에서 다른 스트림으로 전달 될 때 어떤 방식 으로든 데이터를 변경합니다.


원문출처 : http://java4732.blogspot.kr/2015/05/top-java-frequently-asked-questions.html



Posted by Joseph514
해외생활이야기2017. 8. 18. 16:37

-[JOBINTERVIEW]웹개발자 인터뷰 질문들(번역)





이번엔 영어로된 웹개발자에 관련된 인터뷰 질문들의 예제입니다.


Web Developer interview questions


-Computer Science questions

컴퓨터 과학 관련 질문

What is a ‘MIME type’ and what is it used for? Provide an example.

'MIME 형식'이란 무엇이며 어떤 용도로 사용됩니까? 예제를 제공하십시오.


Explain the pros and cons for CSS animations vs. JavaScript animations.

CSS 애니메이션과 JavaScript 애니메이션의 장단점을 설명하십시오.


What’s the difference between HTML and XHTML?

HTML과 XHTML의 차이점은 무엇입니까?


Why is it generally a good idea to position CSS s between and JS s just before ? Do you know any exceptions?

CSS를 배치하기 전에 일반적으로 JS를 배치하는 것이 일반적으로 좋은 이유는 무엇입니까? 예외를 아십니까?


-Role-specific questions

역할 관련 질문


Can you describe your workflow when you create a web page from scratch?

당신은 처음부터 웹 페이지를 만들 때 워크 플로를 설명 할 수 있습니까?


What’s your favorite programming language and why? What features (if any) would you like to add to this language?

가장 좋아하는 프로그래밍 언어는 무엇이며 그 이유는 무엇입니까? 이 언어에 어떤 기능을 추가 하시겠습니까?


How would you decrease page load times?

페이지로드 시간을 어떻게 줄일 수 있습니까?


Describe the process from the time you type in a website’s URL to it finishing loading on your screen.

웹 사이트 URL을 입력 할 때부터 화면에로드가 완료 될 때까지의 과정을 설명하십시오.


What user interface and security principles do you consider when building a website or online application?

웹 사이트 또는 온라인 응용 프로그램을 만들 때 어떤 사용자 인터페이스(user interface) 및 보안 원칙(security principles)을 고려합니까?


Have you used or implemented mobile specific layouts/CSS?

당신은 모바일 특정 레이아웃/CSS를 사용해왔거나, 구현해왔습니까? 


What tools and techniques do you use to debug JavaScript code?

자바 스크립트 코드를 디버깅 할 때 어떤 도구와 기술을 사용합니까?


Are you familiar with designing a single page app?

단일 페이지 응용 프로그램(single page app)을 디자인하는 데 익숙하십니까?


What methods do you use to make SEO-friendly web pages?

당신은 SEO 친화적 인 웹 페이지를 만들기 위해 어떤 방법을 사용합니까?

ps.SEO는 검색 엔진을 사용하는 사람들을 위한 최적화를 말합니다.


-Behavioral questions

행동 관련 질문

Describe a time when a program you developed didn’t run. How did you troubleshoot your code?

개발한 프로그램이 실행되지 않은 시간을 설명하십시오. 코드 문제를 어떻게 해결 했습니까?


What’s a fun project that you’ve worked on recently?

최근에 일해 온 재미있는 프로젝트는 무엇입니까?


What area of expertise would you like to master?

어떤 분야의 전문 지식을 마스터하고 싶습니까?


How do you stay up-to-date with the latest technology developments?

최신 기술 개발에 대해 어떻게 생각하십니까?


출처 : https://resources.workable.com/web-developer-interview-questions


Posted by Joseph514
해외생활이야기2017. 8. 18. 16:03

-[JOBINTERVIEW]몇가지의 코딩인터뷰 질문 번역해봤습니다.

제가 영어가 짧아고 Ruby나 파이썬은 익숙하지 않아서 좀 번역이 시원찮네요.

일단 Cover-letter와 Resume가 중요해야겠지만, 대략적으로 어떤 질문을 하는지 좀 알아봐야 될거 같네요.

필요하시다면 참고 해보시기 바랍니다.


Coding interview questions


-Java

How are Runtime exceptions different from Checked exceptions?

Runtime exceptions는 Checked exceptions와 어떻게 다릅니까?


Why use an object Factory and how would you implement the Singleton pattern?

왜 object Factory를 사용해야하고 어떻게 Singleton pattern을 구현하겠습니까?


Is this possible in Java? “A extends B, C”

자바로 가능합니까? "A 확장 B, C"


What is difference between String, StringBuilder and StringBuffer in Java?

자바에서 String, StringBuilder 및 StringBuffer의 차이점은 무엇입니까?


-Ruby

What is the use of load and require in Ruby?

Ruby에서 사용되는 load and require 무엇입니까?


Explain each of the following operators and how and when they should be used: ==, ===, eql?, equal?

다음 연산자 각각과 언제 어떻게 사용해야하는지 설명하십시오 : ==, ===, eql?, equal?


What is a module? Can you tell me the difference between classes and modules?

모듈이란 무엇입니까? 클래스와 모듈의 차이점을 알려주시겠습니까?


What are some of your favorite gems?

좋아하는 gems에는 어떤 것들이 있습니까?


-Python

Why are functions considered first class objects in Python?

파이썬에서 functions가 first class objects로 간주되는 이유는 무엇입니까?


Can you explain circular dependencies in Python and potential ways to avoid them?

파이썬에서의 순환 의존성과 그것들을 피할 수있는 잠재적 인 방법을 설명 할 수 있습니까?


Give an example of filter and reduce over an iterable object.

필터의 예제를 제공하고 반복 가능한 객체를 줄입니다.


Can you explain the uses/advantage of a generator?

generator 의 용도 / 장점을 설명 할 수 있습니까?


-.NET

What is the WebSecurity class in .NET? What is its use?

.NET의 WebSecurity 클래스는 무엇입니까? 그 용도는 무엇입니까?


In .NET, attributes are a method of associating declarative information with C# code. Please describe the way they are used and a proper use case.

.NET에서 속성은 C # 코드와 선언 정보를 연결하는 방법입니다. 사용 방법과 적절한 사용 사례를 설명하십시오. 


Which is the best way to pass configuration variables to ASP.NET applications?

ASP.NET 응용 프로그램에 구성 변수를 전달하는 가장 좋은 방법은 무엇입니까?


Is it possible in .NET to extend a class (any class) with some extra methods? If yes, how can it be accomplished?

.NET에서 몇 가지 추가 메서드로 클래스 (any 클래스)를 확장 할 수 있습니까? 그렇다면 어떻게 성취 될 수 있습니까?


-PHP

If you need to generate random numbers in PHP, what method would you follow?

PHP에서 임의의 숫자(random numbers)를 생성해야한다면 어떤 방법을 따르겠습니까?


What’s the difference between the include() and require() functions?

include ()와 require () 함수의 차이점은 무엇입니까?


Explain how you develop and integrate plugins for PHP frameworks, like Laravel and Yii.

Laravel 및 Yii와 같은 PHP 프레임 워크 용 플러그인을 개발하고 통합하는 방법을 설명하십시오.


How can you get web browser’s details using PHP?

PHP를 사용하여 웹 브라우저의 세부 사항을 어떻게 얻을 수 있습니까?


-HTML/CSS

Can you describe the difference between inline elements and block elements?

inline elements와 block elements의 차이점을 설명해 주시겠습니까?


Why is it generally a good idea to position CSS s between and JS s just before ? Do you know any exceptions?

CSS를 배치하기 전에 일반적으로 JS를 배치하는 것이 일반적으로 좋은 이유는 무엇입니까? 예외를 아십니까?


Can you describe how padding and margin differ?

padding과 margin이 어떻게 다른지 설명 할 수 있습니까?


How is responsive design different from adaptive design?

반응형 디자인(responsive design)과 적응형 디자인(adaptive design)의 차이점은 무엇입니까?


출처 : https://resources.workable.com/coding-interview-questions



Posted by Joseph514