An electronic device comprising: a first housing; a second housing; a double-axis hinge housing, where at least a first part of the double-axis hinge housing is connected to the first housing and at least part of the double-axis hinge housing is connected to the second housing such that the second housing can rotate from the first housing around a first hinge-axis or a second hinge-axis parallel to the first hinge-axis; a first hinge device which rotatably connects the first housing and the double-axis hinge housing with reference to the first hinge-axis and which comprises a first cam installed on a first hinge shaft providing the first hinge-axis; a second hinge device which is parallel to the first hinge device and rotatably connects the second housing and the double-axis hinge housing with reference to the second hinge-axis, wherein the second hinge device comprises a second cam that is installed on a second hinge shaft providing the second hinge-axis and faces the first cam; a cam, which is rotatably mounted between the first and the second hinge devices around a third hinge axis parallel to each of the first hinge axis and the second hinge axis and between one pair of brackets (455, 456), is set to interlock with the first hinge device at a first rotation angle so as to block a rotation operation of the first housing and allow a rotation operation of the second housing, and is set to interlock with the second hinge device at a second rotation angle so as to block a rotation operation of the second housing and allow a rotation operation of the first housing; wherein the first hinge device, the second hinge device and the cam are received in the double-axis hinge housing, characterised in that: the brackets (455, 456) are movably arranged in a direction parallel to the first hinge axis and the second hinge axis by a guide, and by a mode switch sliding device such that the cam is moved parallel to each of the first hinge axis and the second hinge-axis by the mode switch sliding device, as to interlock with the first cam or the second cam, the mode switch sliding device is received in the double-axis hinge housing. a first housing; a second housing; a double-axis hinge housing, where at least a first part of the double-axis hinge housing is connected to the first housing and at least part of the double-axis hinge housing is connected to the second housing such that the second housing can rotate from the first housing around a first hinge-axis or a second hinge-axis parallel to the first hinge-axis; a first hinge device which rotatably connects the first housing and the double-axis hinge housing with reference to the first hinge-axis and which comprises a first cam installed on a first hinge shaft providing the first hinge-axis; a second hinge device which is parallel to the first hinge device and rotatably connects the second housing and the double-axis hinge housing with reference to the second hinge-axis, wherein the second hinge device comprises a second cam that is installed on a second hinge shaft providing the second hinge-axis and faces the first cam; a cam, which is rotatably mounted between the first and the second hinge devices around a third hinge axis parallel to each of the first hinge axis and the second hinge axis and between one pair of brackets (455, 456), is set to interlock with the first hinge device at a first rotation angle so as to block a rotation operation of the first housing and allow a rotation operation of the second housing, and is set to interlock with the second hinge device at a second rotation angle so as to block a rotation operation of the second housing and allow a rotation operation of the first housing; wherein the first hinge device, the second hinge device and the cam are received in the double-axis hinge housing, characterised in that: the brackets (455, 456) are movably arranged in a direction parallel to the first hinge axis and the second hinge axis by a guide, and by a mode switch sliding device such that the cam is moved parallel to each of the first hinge axis and the second hinge-axis by the mode switch sliding device, as to interlock with the first cam or the second cam, the mode switch sliding device is received in the double-axis hinge housing.